package com.tiger.admin.http.common.menu.dto;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class Add extends Common{
    @Min(0)
    @NotNull
    private Integer parentId;

    @NotEmpty
    @NotNull
    private String type;
}
